package com.travelmood.mapper;

import com.travelmood.pojo.Mood;
import org.apache.ibatis.annotations.*;

import java.util.List;
@Mapper
public interface MoodMapper {

  void insertMood(Mood mood);

  Mood findMoodById(Integer moodId);

  void updateMood(Mood mood);


    void deleteMoodById(Integer moodId);


    List<Mood> selectAllMoods();

    List<Mood> findMoodsByPlaceId(Integer placeId);
}
